let set = new Set();
set.add('hjaha');
set.add("hjaha");
set.add('hhh')
set.add('hhh')
set.add(11111)
console.log(set); //Set(2) {1, "1"}


console.log(set.has('hhh'));
console.log(set.delete('hihih'));

// console.log(set.clear())
console.log(set);

const arr = Array.from(set)
console.log(arr)


const arr1 = [1, '11', {name: 'ck', age:10}]
console.log(arr1)

for (const setElement of arr1) {
    // console.log(setElement)
    if(typeof setElement === 'object') {
        for (const setKey in setElement) {
            console.log(setElement[setKey])
        }
    }else  {
        console.log(setElement)
    }
}


let  str = 'console.log(`hello world`)'
eval(str)
